tools/build: Remove bpf() run-time check at build time
authorBen Hutchings <ben@decadent.org.uk>
Sun, 21 Feb 2016 15:33:15 +0000 (15:33 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 22 Oct 2023 19:28:21 +0000 (21:28 +0200)
commitb106936455baac5c94b168f9c3d3f6e50e93c10b
tree17846c7fdf94af8535d17937dea719a4cd25d81b
parentf83d0eeb1a26a8eefc045c75c8141bc7f6ce1181
tools/build: Remove bpf() run-time check at build time

Forwarded: no

It is not correct to test that a syscall works on the build system's
kernel.  We might be building on an earlier kernel version or with
security restrictions that block bpf().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-build-remove-bpf-run-time-check-at-build-time.patch
tools/build/feature/test-bpf.c